/*
 * Copyright (C) 2011, EADS France
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2.1 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 */
package xowl.interpreter.backends.rete;

import java.util.ArrayList;
import java.util.List;

/**
 *
 * @author Laurent WOUTERS
 */
public class RETERule {
    private List<Condition> positives;
    private List<List<Condition>> negatives;
    private TokenActivable output;
    
    public List<Condition> getPositives() { return positives; }
    public List<List<Condition>> getNegatives() { return negatives; }
    public TokenActivable getOutput() { return output; }
    
    public RETERule(TokenActivable output) {
        this.positives = new ArrayList<Condition>();
        this.negatives = new ArrayList<List<Condition>>();
        this.output = output;
    }
}
